const qs=require('querystring');
var str1="age=20&gender=t";
let res= qs.parse(str1);
console. log(res) ;

var obj={name:"刘德华",age:20,hobby:["美女","黄金”,“别野"]};
var result= qs.unescape(qs.stringify(obj));
console. log(result);

console. log ( ' _----');
console. log(qs.unescape(qs.escape("SUE") ));